import SwiftUI

struct ProfileView: View {
    var body: some View {
        NavigationStack {
            List {
                Section("账户") {
                    NavigationLink {
                        LoginView()
                    } label: {
                        Label("登录/注册", systemImage: "person.badge.key")
                    }
                }
                Section("设置") {
                    Label("通知", systemImage: "bell")
                    Label("关于", systemImage: "info.circle")
                }
            }
            .navigationTitle("我的")
        }
    }
}

#Preview { ProfileView() }


